﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Data;

namespace hostal
{
    public partial class ReporteConsumos : Form
    {
        DataTable temp = new DataTable();
        public ReporteConsumos()
        {
            InitializeComponent();
        }

        private void ReporteConsumos_Load(object sender, EventArgs e)
        {
            DGConsumo.Columns.Clear();
            ConsumoDataAccess hDal = new ConsumoDataAccess();
            temp = hDal.reporteConsumo();
            DGConsumo.DataSource = temp;
        }
    }
}
